/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.chipchip.database.objects;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 * @author Tri
 */
@Document(collection = "MapResult")
public class DOMapResult {
    // Static keys
    public static final String KEY_MAP_ID = "mapID";
    public static final String KEY_USER_ID = "userID";
    public static final String KEY_SCORE = "score";
    public static final String KEY_RATING = "rating";
    public static final String KEY_LEVEL = "level";
    
    private String mapID;
    private String userID;
    private int score;
    private int rating;
    private int level;

    public DOMapResult(String mapID, String userID, int score, int rating, int level) {
        this.mapID = mapID;
        this.userID = userID;
        this.score = score;
        this.rating = rating;
        this.level = level;
    }
    
    public String getMapID() {
        return this.mapID;
    }
    
    public String getUserID() {
        return this.userID;
    }
    
    public int getScore() {
        return this.score;
    }
    
    public int getRating() {
        return this.rating;
    }
    
    public int getLevel() {
        return this.level;
    }
}
